package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 供应商
 * @author Rongjie
 */
@Data
@TableName("mall_supplier")
@KeySequence(value = "mall_supplier_SEQ")
@ApiModel(value = "MallSupplier对象")
public class MallSupplier implements Serializable{

       @ApiModelProperty(value = "应用KEY")
       private String appKey;

       @TableId(value = "supplier_key", type = IdType.UUID)
       @ApiModelProperty(value = "供应商KEY")
       private String supplierKey;

       @ApiModelProperty(value = "供应商名称")
       private String supplierName;

       @ApiModelProperty(value = "供应商所在省")
       private String address;

       @ApiModelProperty(value = "供应商联系电话")
       private String tel;

       @ApiModelProperty(value = "推荐码")
       private String recommendCode;

       private Integer createTime;

       private Integer updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
